package com.yss.strategy;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * @Description:登录策略接口
 * @Author:yss
 * @Date:2024/7/23 21:38
 */

public interface LoginStrategy {
    /**
     * 真正处理登录的方法
     */
    UserDetails realLogin(String username);
}
